package com.secxiot.provider.user.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

@ApiModel
@Builder
@ToString
@Data
public class UserDto implements Serializable {

    @ApiModelProperty( value = "用户id",required = true)
    private Long userId;

    @ApiModelProperty(value = "用户名")
    private  String username;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(hidden = true)
    private String password;

    @ApiModelProperty(value = "部门id")
    private Long deptId;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "状态0禁用1正常")
    private Integer status;

    @ApiModelProperty(value = "性别")
    private Integer sex;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "创建用户id",hidden = true)
    private Long userIdCreate;

    @ApiModelProperty(value = "创建时间",hidden = true)
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间",hidden = true)
    private Date gmtModified;


    @ApiModelProperty(value = "出生日期",hidden = true)
    private Date birth;

    @ApiModelProperty(value = "地址")
    private String liveAddress;
    @ApiModelProperty(value = "图片ID")
    private Long picId;

    @ApiModelProperty(value = "用户类型，字典")
    private String type;

    @ApiModelProperty(value = "身份证号码")
    private String identificationNumber;

    @ApiModelProperty(value = "wx",hidden = true)
    private String wxOpenid;

    @ApiModelProperty(value = "wxuserid",hidden = true)
    private String wxUserid;

    @ApiModelProperty(value = "hospitalId")
    private Long hospitalId;

    @ApiModelProperty(value = "省份")
    private String province;

    @ApiModelProperty(value = "所在城市")
    private String city;

    @ApiModelProperty(value = "所在地区")
    private String district;

    @ApiModelProperty(value = "微信头像")
    private String wxHeadImg;

    @ApiModelProperty(value = "微信id")
    private String wxAppId;

    @ApiModelProperty(value = "邀请码")
    private String promoteCode;

    @ApiModelProperty(value = "注册位置-省")
    private String locationProvince;

    @ApiModelProperty(value = "注册位置-城市")
    private String locationCity;

    @ApiModelProperty(value = "注册位置-区域")
    private String locationDistrict;
}
